package com.xiannimei.model.command;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

import com.xiannimei.model.Member;

/**
 * LoginCmd 登录信息
 * 
 * 2013-7-11 下午1:44:44
 * 
 * @author xinyuan.guo
 * 
 */
public class LoginCmd extends Member {

	@NotNull(message = "{valid.register.captcha}")
	@Pattern(regexp = "^[a-zA-Z\\d]{4}$", message = "{valid.register.captcha}")
	private String captcha;

	public String getCaptcha() {
		return captcha;
	}

	public void setCaptcha(String captcha) {
		this.captcha = captcha;
	}
}